package com.ruoyi.goods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 生产厂商管理对象 t_producer
 * 
 * @author zxr
 * @date 2023-06-19
 */
public class Producer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 生产厂商ID */
    @Excel(name = "生产厂商ID")
    private Integer producerId;

    /** 生产厂名称 */
    @Excel(name = "生产厂名称")
    private String producerName;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contacts;

    /** 联系人电话 */
    @Excel(name = "联系人电话")
    private String phoneNumber;

    /** 生产厂地址 */
    @Excel(name = "生产厂地址")
    private String address;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setProducerId(Integer producerId) 
    {
        this.producerId = producerId;
    }

    public Integer getProducerId() 
    {
        return producerId;
    }
    public void setProducerName(String producerName) 
    {
        this.producerName = producerName;
    }

    public String getProducerName() 
    {
        return producerName;
    }
    public void setContacts(String contacts) 
    {
        this.contacts = contacts;
    }

    public String getContacts() 
    {
        return contacts;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("producerId", getProducerId())
            .append("producerName", getProducerName())
            .append("contacts", getContacts())
            .append("phoneNumber", getPhoneNumber())
            .append("address", getAddress())
            .append("remarks", getRemarks())
            .toString();
    }
}
